<?php
	session_start();
	
	// Load Database Singleton:
	include_once('core/db.php');
	
	// Load Main:
	include_once('core/mainModel.php');
	include_once('core/mainView.php');
	include_once('core/mainController.php');
	
	$mainModel      = new MainModel();
	$mainView       = new MainView();
	$mainController = new MainController($mainModel, $mainView);
	
	$mainController->parseActions();
	$mainController->render();
?>
